<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>打印倒金字塔直线</title>
  <style>

  </style>
</head>
<body>
<center>
  <script language="JavaScript" type="text/javascript">
    document.write("<h3>打印倒金字塔直线</h3>");
    var i= 70;
    while(i>0)
    {
      document.write("<hr width=" + i+"%/>");
      i=i-10;
    }
    for(var j=11;j<80;j=j+10){
      document.write("<hr width=" + j+"%/>");
    }
  </script>
</center>
</body>
</html>
